package com.ssm.changeunit.persistance;

/**
 * "Project" Table을 조작하는 DAO
 * 
 * @author 시리우스
 */
public abstract class AbstractProjectDAO extends AbstractDAO {
    
    /**
     * 검색
     * 
     * @param null
     * @return
     */
    public abstract ProjectDTO find() throws PersistanceException;
    
    /**
     * 검색
     * 
     * @param projectId
     * @return
     */
    public abstract ProjectDTO find(String projectId) throws PersistanceException;
    
    /**
     * 삽입
     * 
     * @param projectDTO
     */
    public abstract void insert(ProjectDTO projectDTO) throws PersistanceException;
    
    /**
     * 업데이트
     * 
     * @param projectDTO
     */
    public abstract void update(ProjectDTO projectDTO) throws PersistanceException;
    
    /**
     * 삭제
     * 
     * @param projectId
     */
    public abstract void delete(String projectId) throws PersistanceException;
}
